/** @description  **/
/** @author  wutao **/
/** @date 2020-04-20 **/

import Vue from 'vue'
import * as lib from './common/lib/index'
import storage from './common/lib/storage/index'
import appApi from './common/appApi'
import chartsConfigs from 'common/lib/charts/index.js'

Vue.prototype.$appApi = appApi;
Vue.prototype.$tools = {};
Vue.prototype.$chartsConfig = chartsConfigs;
//将lib 内的方法都挂在到tools 上
Object.values(lib).forEach((fnObj) => {
	Object.assign(Vue.prototype.$tools, fnObj);
});
